package com.yj.api;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * Copyright 2017 (C) Yunjian-VC
 * Created on : 2017/12/5
 * Author     : Unbelievable9
 **/
public interface OA_Contract_API {

    @Headers("Content-Type: text/html")
    @POST("/oa/info/contract-push/")
    Call<String> contractPush(@Body String contract);

    @Headers("Content-Type: text/html")
    @POST("/oa/info/contract-status-update/")
    Call<String> contractStatusUpdate(@Body String status);

    @Headers("Content-Type: text/html")
    @POST("/oa/info/contract-transfer/")
    Call<String> contractTransfer(@Body String transfer);

    @Headers("Content-Type: text/html")
    @POST("/oa/info/user-config-push/")
    Call<String> userConfigPush(@Body String userConfig);

    @Headers("Content-Type: text/html")
    @POST("/oa/info/user-config-delete/")
    Call<String> userConfigDelete(@Body String userIDs);

    @Headers("Content-Type: text/html")
    @POST("/oa/info/department-config-push/")
    Call<String> departmentConfigPush(@Body String departmentConfig);

    @Headers("Content-Type: text/html")
    @POST("/oa/info/department-config-delete/")
    Call<String> departmentConfigDelete(@Body String departmentIDs);
}
